﻿<UserControl x:Class="HomeUX.ClientAppSupport.ConnectionSettingsScreen"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c="clr-namespace:HomeUX.Controls"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:win="clr-namespace:System.Windows;assembly=System.Windows"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d"
    Width="800" Height="530" IsTabStop="False">
    <UserControl.Resources>
        <SolidColorBrush x:Key="ErrorTextForegroundBrush" Color="Red" />
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Tag="RealRootTODOdeleteme" Background="{StaticResource DefaultBackgroundBrush}">
        <TextBlock x:Name="IntroText" Height="20" Margin="125,20,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="260" FontWeight="Bold" FontSize="13">Intro text here</TextBlock>
        <c:TouchTextBox x:Name="ServerNameTextBox" Label="Server name:" Height="50" Margin="125,55,375,0" VerticalAlignment="Top" TabIndex="1" />
        <c:TouchTextBox x:Name="ServerPortTextBox" Width="100" Label="Port:" Height="50" HorizontalAlignment="Right" Margin="0,55,250,0" VerticalAlignment="Top" TabIndex="2" />
        <c:TouchTextBox x:Name="PasswordTextBox" Label="Password:" IsPassword="True" Height="50" Margin="125,120,375,0" VerticalAlignment="Top" TabIndex="3" />
        <c:TouchKeyboard x:Name="Keyboard" TabScope="LayoutRoot" Margin="0,0,0,10" VerticalAlignment="Bottom"/>
        <c:TouchButton x:Name="SavePasswordButton" HorizontalAlignment="Right" VerticalAlignment="Top" Content="Save Password&#xa;on This Computer" Margin="0,120,200,0" Width="150" TabIndex="4"/>
        <TextBlock Height="44" HorizontalAlignment="Left" Margin="615,126,0,0" VerticalAlignment="Top" Width="150" TextWrapping="Wrap" x:Name="PasswordWarning"><Run FontSize="13" Text="NOTE: Password will be stored unencrypted"/></TextBlock>
        <c:TouchButton x:Name="ConnectToServerButton" Height="45" Margin="125,190,0,0" VerticalAlignment="Top" Text="Connect to Server" Width="200" TabIndex="5" Click="ConnectToServerButton_Click" d:LayoutOverrides="Width" HorizontalAlignment="Left" />
        <TextBlock Text="-- or --" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="340,203,0,0" FontSize="13" />
        <c:TouchButton x:Name="SimulatedServerModeButton" Height="45" Margin="200,190,0,0" VerticalAlignment="Top" Text="Simulated Server Mode" Width="200" TabIndex="6" Click="SimulatedServerModeButton_Click" />
    </Grid>
    
</UserControl>
